# 类可以多重继承,Dog继承自Animal,Ted继承自Dog

# 定义叫声的类


class Barkable(object):
    def bark(self):
        print('狗在叫')


class Meowable(object):
    def meow(self):
        print('猫在叫')


class Animal(object):
    pass


class Dog(Animal, Barkable):
    pass


class Ted(Dog):
    pass


class Cat(Animal, Meowable):
    pass


class Bos(Cat):
    pass


class Huskey(Dog):
    pass


a = Huskey()
print(a.bark())
